package com.hyz.login.service.impl;


import com.hyz.login.mapper.DepartmentsMapper;
import com.hyz.login.model.Departments;
import com.hyz.login.service.DepartmentsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description
 * @Author lijinzhang
 * @Date 2022/11/18 14:57
 **/
@Service
public class DepartmentsServiceImpl implements DepartmentsService {

    @Resource
    private DepartmentsMapper departmentsMapper;
    @Override
    public List<Departments> departmentsAll() {
        return departmentsMapper.departmentsAll();
    }
}
